/*
 * @Description: 
 * @Author: rendc
 * @Date: 2024-10-12 14:48:23
 * @LastEditors: rendc
 * @LastEditTime: 2024-10-12 15:01:32
 */
/**
 * Test11
 */
public class Test11 {

  public static void main(String[] args) {
    // 两个线程子类的对象
    RabbitAndTurtle rabbit = new RabbitAndTurtle("兔子");
    RabbitAndTurtle turtle = new RabbitAndTurtle("乌龟");
    // 启动线程
    rabbit.start();
    turtle.start();
  }
}